/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.bus.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 疫苗补助须知Entity
 * @author zxl
 * @version 2019-08-12
 */
public class VaccineNotice extends DataEntity<VaccineNotice> {
	
	private static final long serialVersionUID = 1L;
	private String notice;		// 疫苗补助须知（富文本）
	private Integer status;		// 启用1使用中，有效0无效
	private String sort;		// 排序
	
	public VaccineNotice() {
		super();
	}

	public VaccineNotice(String id){
		super(id);
	}

	@Length(min=0, max=5000, message="疫苗补助须知（富文本）长度必须介于 0 和 5000 之间")
	public String getNotice() {
		return notice;
	}

	public void setNotice(String notice) {
		this.notice = notice;
	}
	
	@Length(min=0, max=4, message="排序长度必须介于 0 和 4 之间")
	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}